<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="org.springframework.security.context.SecurityContextHolder" %>
<%@ taglib prefix="eb" uri="http://www.travelsky.com/travelsky" %>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">

  <head>
    <title></title>
  </head>
  <body>
  <eb:auth res="/jsp/public/index.jsp">success author</eb:auth>
  <br>
<font color="red">---${sessionScope['SPRING_SECURITY_LAST_EXCEPTION'].message}
---</font>
  <br>
  hello
  <br>
 <%=SecurityContextHolder.getContext().getAuthentication()
 %><br>
 ${session.SPRING_SECURITY_CONTEXT.authentication.principal.username }
  </body>
</html>
